﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="AuthorityRoleEdit.aspx.cs" Inherits="_2010web.Manage.authority.AuthorityRoleEdit" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
     <!-- #include file="~/html/file.aspx" -->
</head>
<body>
    <form id="form1" runat="server">
    <div class="alert_info">
        <div class="alert_form" id="info">
            <ul>
                 <li><b style="font-weight: 400">父级：</b><div>
                   <asp:DropDownList runat="server" ID="ddParentRole">

                   </asp:DropDownList>
                </div>
                </li>
                <li><b style="font-weight: 400">名称：</b><div>
                    <asp:TextBox CssClass="inputtxt w180" runat="server" MaxLength="16" ID="txtName" />
                </div>
                </li>
              
                
            </ul>
            <div class="btns">
        <a href="javascript:void(0);" class="submit">
            <asp:Button runat="server" ID="btnSave" Text="确定" OnClientClick="return Save();"
                OnClick="btnSave_Click" /></a><a href="#" onclick="return false;" class="cancel">
                    <input type="button" value="取消" onclick="parent._M.CallBack('_M.CloseIframe()');" /></a>
    </div>
        </div>
    </div>
    
    <script language="javascript">
        function Save() {
            if ($.trim($("#txtName").val()) == "") {
                _M.ErrorMsg(null, '分类名称不能为空！', 'info');
                return;
            }
        }
        <%=strMessage %>
    </script>
    </form>
</body>
</html>
